﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Wizard.Source;
using Wizard.Runtime;

namespace Wizard.MsSql
{
	public partial class Session : ISession
	{
        #region ISession Members

        int ISession.SessionId
        {
            get
            {
                return this.SessionId;
            }
            set
            {
                this.SessionId = value;
            }
        }

        string ISession.SessionKey
        {
            get
            {
                return this.SessionKey;
            }
            set
            {
                this.SessionKey = value;
            }
        }

        DateTime ISession.Created
        {
            get
            {
                return this.Created;
            }
            set
            {
                this.Created = value;
            }
        }

        ICollection<IClassInstance> ISession.ClassInstances
        {
            get { throw new NotImplementedException(); }
        }

        IWizardApplication ISession.TempApplication
        {
            get
            {
                return this.Application;
            }
            set
            {
                this.Application = (Wizard.MsSql.Application)value;
            }
        }

        Wizard.IWizardEngine ISession.Engine
        {
            get { throw new NotImplementedException(); }
        }

        #endregion
    }
}
